package com.devunion.salon.core.model.security;

import com.devunion.salon.core.model.BaseSalonEntity;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;

/**
 * @author spetrakovsky
 */
@Entity
@Inheritance(strategy = InheritanceType.JOINED)
public class User extends BaseSalonEntity {

    /**
     * Should be userEmailAddress.
     */
    private String loginName;

    /**
     * Plain text for now.
     */
    private String password;

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
